package com.vipheyue.fastlib.utils;

import android.content.Context;
import android.content.pm.ApplicationInfo;

/**
 * Created by heyue on 16/9/7.
 */

public class DebugMode {
    public Boolean isDebuggable(Context context) {
        boolean isDebuggable = (0 != (context.getApplicationInfo().flags & ApplicationInfo.FLAG_DEBUGGABLE));
        return isDebuggable;
    }
}
